package org.idea.qiyu.framework.threadpool.core;

/**
 * @Author linhao
 * @Date created in 10:47 下午 2021/10/13
 */
public class DiscardDenyPolicy implements DenyPolicy{

    @Override
    public void reject(Runnable runnable, ThreadPool threadPool) {
        throw new RunnableDenyException("这个线程："+runnable+" 会被抛弃");
    }
}
